Package com.streamwide.smartms.lib.hardware.api.devices.siyata

Types

Link copied to clipboard
data class Channel(var name: String? = null, var id: Long)
Link copied to clipboard
annotation class SiyataEvents
Link copied to clipboard
object SiyataLedManagerApi

This API is the interface with SIYATA SD7 device. This api should be used only when the device is Siyata SD7 and in the device settings click the "keys function settings" and then under "Rotary" menu select "Channel". Use case : You need to init this api by calling the SiyataLedManagerApi.registerToSiyataSD7Event() and pass all needed params to instantiate this api. This api will receive the Channel List receive at the init step and must also be received at runtime when there is any update via the method SiyataLedManagerApi.updateChannelsList(). Then the Api will display the channel list and each time user use the knob button to change channel, API receive this event from the system and CONNECT the new channel and DISCONNECT the current